const config = {
  //启动端口号
  port: 3000,
  database: {
    HOST: 'localhost',
    USER: 'root',
    PASSWORD: 'root',  //这里的密码为自己数据库的密码
    PORT: 3306,
    WALL: 'WALL',
  }
}

module.exports = config;
// const mysql = require('mysql2');  
  
// const connection = mysql.createConnection({  
//   host: 'localhost',  
//   user: 'yourusername',  
//   password: 'yourpassword',  
//   database: 'yourdatabase',  
//   waitForConnections: true,  
//   connectionLimit: 10,  
//   queueLimit: 0  
// });  
  
// connection.connect(err => {  
//   if (err) throw err;  
//   console.log('Connected!');  
// });